#pragma once

#include<stdio.h>
#include<stdlib.h>
#include<time.h>

#define ROW 3
#define COL 3

//初始化棋盘
void InitBoard(char board[ROW][COL], int row, int col);//形参

//打印棋盘
void DisplayBoard(char board[ROW][COL], int row, int col);

//玩家下棋
void PlayerMove(char board[ROW][COL],int row,int col);

//电脑下棋
void ComputerMove(char board[ROW][COL], int row, int col);

//
//玩家赢	-返回一个*
//电脑赢	-返回一个#
//平局		-'Q'
//继续		-'C'
//

char IsWin(char board[ROW][COL],int row,int col);